package StudyCode.summary.myfile;

import java.net.URI;
import java.nio.file.Path;
import java.nio.file.Paths;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class CreatePathsUsingURI {
	public static void main(String[] args) {
		Path path = Paths.get(URI.create("file:///1/2/3/test.txt"));
		System.out.println(path);
		path = Paths.get(URI.create("file:///C:/1/2/3/test.txt"));
		System.out.println(path);
	}
}
